package com.haha.qqchannelbot.core.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 消息载荷
 */
@Getter
@Setter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Payload {

    /**
     * 操作码
     */
    private int op;

    /**
     * 序号
     */
    private int s;

    /**
     * 类型
     */
    private String t;

    /**
     * 数据
     */
    private Object d;

    /**
     * 事件序号
     */
    private String id;


}
